<?php

declare(strict_types=1);

function foo(): void
{
}

$class = new class () {};
